#include "widget.h"
#include "ui_widget.h"
#include "myqlabel.h"
#include <QLabel>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
//    QLabel* lab = new QLabel(this);
//    lab->setText("hello world");
    MyQLabel* mlab = new MyQLabel(this);
    mlab->setText("hello world");
}

Widget::~Widget()
{
    delete ui;
}

